export const tableOption = {
  "border": true,
  "index": false,
  "indexLabel": "序号",
  addBtn: false,
  editBtn: false,
  viewBtn: true,
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 4,
  labelWidth: 180,
  searchMenuPosition: 'right',
  "column": [
    {
      "type": "input",
      "label": "主键",
      "prop": "id",
      display: false,
      //showColumn: false
      hide: true,
    }, {
      "type": "input",
      "label": "标题",
      "prop": "title",
      search: true
    }, {
      "type": "textarea",
      "label": "详情",
      "prop": "content",
      //showColumn: false,
      hide: true,
    }, {
      "type": "input",
      "label": "图片",
      "prop": "img",
      //showColumn: false
      hide: true,
    },
    // {
    //   "type": "input",
    //   "label": "发布者id",
    //   "prop": "uid",
    //   display: false,
    //   showColumn: false
    // },
    /* {
       "type": "input",
       "label": "发布者id",
       "prop": "uid",
       display:false,
       showColumn: false
     },*/
    {
      "type": "select",
      "label": "发布者名称",
      "prop": "userName",
      showColumn: true,
      display: true,
    },
    {
      type: 'select',
      label: '发布者名称',
      search: true,
      searchLabelWidth: 100,
      display: false,
      hide: true,
      props: {
        label: 'name',
        value: 'id'
      },
      prop: 'uid',
      dicUrl: '/circleuserinformation/userList?keyword={{key}}',
      remote: true,
      filterable: true,
    },
    {
      "type": "input",
      "label": "发布者联系方式",
      "prop": "phone",
    },
    /* {
      "type": "upload",
      "label": "发布者头像",
      "prop": "headPic",
    },	 */
    {
      "type": "input",
      "label": "发布时间",
      "prop": "createTime"
    }, /*{
      "type": "input",
      "label": "1:需求 2:资源",
      "prop": "state",
     hide: true,
      display: false,
    },	*/ /*  {
      "type": "input",
      "label": "0:未审核 1:已审核 2:审核未通过",
      "prop": "isAudit"
    }, */
    {
      "type": "input",
      "label": "完成状态",
      "prop": "isAudit",
      porps: {
        label: "label",
        value: "id",
      },
      dicData: [{
        label: '进行中',
        value: 0
      }, {
        label: '已完成',
        value: 1
      },
      ],
      display: false,
    },
   /* {
      "type": "select",
      "label": "审核状态",
      "prop": "isAudit",
      search: true,
      porps: {
        label: "label",
        value: "value",
      },
      dicData: [{
        label: '待审核',
        value: 0
      }, {
        label: '审核通过',
        value: 1
      },
      {
        label: '审核未通过',
        value: 2
      },
      ],
       display: false,
    },*/
    /* {
      "type": "input",
      "label": "是否展示",
      "prop": "isDisplay",
      porps:{
        label: "label",
        value: "id",
      },
      dicData: [{
        label: '展示',
        value: 0
      }, {
        label: '不展示',
        value: 1
      }],
    }  */ ]
}
export const tableOption1 = {
  "border": true,
  "index": false,
  solt: true,
  "indexLabel": "序号",
  addBtn: false,
  editBtn: false,
  viewBtn: true,
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  searchMenuPosition: 'right',
  "searchMenuSpan": 4,
  labelWidth: 150,
  span: 24,
  "column": [
    {
      "type": "input",
      "label": "主键",
      "prop": "id",
      display: false,
      //showColumn: false
      hide: true,
    }, {
      "type": "input",
      "label": "标题",
      "prop": "title",
      search: true
    }, {
      "type": "textarea",
      "label": "详情",
      "prop": "content",
      //showColumn: false
      hide: true,
    }, {
      "type": "input",
      "label": "图片",
      "prop": "img",
      // showColumn: false
      hide: true,
    },	 /*  {
      "type": "input",
      "label": "发布者id",
      "prop": "uid",
      display:false,
      showColumn: false
    },	 */
    {
      "type": "select",
      "label": "发布者名称",
      "prop": "userName",
      showColumn: true,
      display: false,
      props: {
        label: "name",
        value: "id"
      },
    },
    {
      type: 'select',
      label: '发布者名称',
      searchLabelWidth: 100,
      search: true,
      display: true,
      hide: true,
      props: {
        label: 'name',
        value: 'id'
      },
      prop: 'uid',
      dicUrl: '/circleuserinformation/userList?keyword={{key}}',
      remote: true,
      filterable: true,
    },
    {
      "type": "input",
      "label": "发布者联系方式",
      "prop": "phone",
    },
    /* {
      "type": "upload",
      "label": "发布者头像",
      "prop": "headPic",
    },	 */
    {
      "type": "input",
      "label": "发布时间",
      "prop": "createTime"
    }, /*{
      "type": "input",
      "label": "1:需求 2:资源",
      "prop": "state",
     hide: true,
      display: false,
    },*/	 /*  {
      "type": "input",
      "label": "0:未审核 1:已审核 2:审核未通过",
      "prop": "isAudit"
    }, */
    {
      "type": "select",
      "label": "审核状态",
      "prop": "isAudit",
      search: true,
      porps: {
        label: "label",
        value: "value",
      },
      dicData: [{
        label: '待审核',
        value: 0
      }, {
        label: '审核通过',
        value: 1
      },
      {
        label: '审核未通过',
        value: 2
      },
      ],
      display: false,
    },
    {
      "type": "select",
      "label": "是否展示",
      "prop": "isDisplay",
      porps: {
        label: "name",
        value: "value",
      },
      dicData: [{
        label: '展示',
        value: 0
      }, {
        label: '不展示',
        value: 1
      }],
    }]
}
